<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<script type="text/javascript" src="js/mootools.js"></script>
	<script type="text/javascript" src="js/slimbox.js"></script>
	<link rel="stylesheet" href="css/slimbox.css" type="text/css" media="screen" />
	<style type="text/css">
		body {
			background-color: #77b;
			font-family: Arial, helvetica, sans-serif;
			color: #fff;
		}
		h1, p {
			text-align: center;
		}
		p {
			margin-top: 100px;
		}
		a {
			font-weight: bold;
			color: #ff0;
		}
	</style>
	<script type="text/javascript">
	// AUTOLOAD CODE BLOCK (MAY BE CHANGED OR REMOVED)
	Slimbox.scanPage = function() {
		var links = $$("a").filter(function(el) {
			return el.rel && el.rel.test(/^lightbox/i);
		});
		// PUT YOUR CUSTOM OPTIONS INSIDE THE FOLLOWING {}
		$$(links).slimbox({}, null, function(el) {
			return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
		});
	};
	window.addEvent("domready", Slimbox.scanPage);

	</script>
</head>
<body>
	<h1>Slimbox example page</h1>
	<p>
		<a href="example.jpg" rel="lightbox" title="Monkey temple in Nepal.&lt;br /&gt;(Photo by C. Beyls)">Click here</a> to see a picture in Slimbox.
	</p>
</body>
</html>
